package com.ysxsoft.wdg.adapter.ht;


import android.widget.ImageView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ysxsoft.wdg.R;
import com.ysxsoft.wdg.util.ViewUtils;

public class HtYlAdapter extends BaseQuickAdapter<String,BaseViewHolder> {

    private int type = 0;

    public void setType(int type){
        this.type = type;
        notifyDataSetChanged();
    }

    public HtYlAdapter(int layoutResId) {
        super(layoutResId);
    }

    public void clear(){
        getData().clear();
        notifyDataSetChanged();
    }


    @Override
    protected void convert(BaseViewHolder helper, String item) {
        int position = helper.getLayoutPosition();


        ImageView ivTx= helper.getView(R.id.iv_pl_tx);
//        ViewUtils.loadCircleImage(mContext,item.,ivTx);

//        helper.setText(R.id.tv_pl_nick,item.)
//        helper.setText(R.id.tv_pl_content,item.)
//        helper.setText(R.id.tv_pl_time,item.)


    }
}
